package com.cn.serverline.lineicp.produce.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 挂起
 * </p>
 *
 * @author 王凯炫
 * @since 2024-08-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TE_SUSPEND_RECORDS")
@ApiModel(value="TeSuspendRecords对象", description="挂起")
public class TeSuspendRecords extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    @ChineseDescription("ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "挂起类型（0固化，1烘烤，2涂敷，3异常）")
    @TableField("HANGING_TYPE")
    @ChineseDescription("挂起类型（0固化，1烘烤，2涂敷，3异常）")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long hangingType;

    @ApiModelProperty(value = "挂起时间")
    @TableField("SUSPEND_TIME")
    @ChineseDescription("挂起时间")
    private Date suspendTime;

    @ApiModelProperty(value = "结束时间")
    @TableField("END_TIME")
    @ChineseDescription("结束时间")
    private Date endTime;

    @ApiModelProperty(value = "工艺描述ID")
    @TableField("PROCESS_DESCRIPTION_ID")
    @ChineseDescription("工艺描述ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long processDescriptionId;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    @ChineseDescription("备注")
    private String remark;

    @ApiModelProperty(value = "任务ID")
    @TableField("TASK_ID")
    @ChineseDescription("任务ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long taskId;


}
